package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;

import java.util.Map;

public interface OrderService {
    public Result order(Map map) throws Exception;
    public Map findById(Integer id);

    PageResult findOrdersPage(QueryPageBean queryPageBean);

    Result addOrder(Integer[] setmealIds, Map map) throws Exception;

    void confirm(Integer id, String orderstatusYes);

    void delete(Integer id) throws Exception;
}
